package com.group.activity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 秒杀配置表
 * 
 * @author lins
 * @email 695565697@qq.com
 * @date 2021-11-15 09:02:32
 */
@Data
@TableName("second_kill_configuration")
public class SecondKillConfigurationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 秒杀配置id
	 */
	@TableId
	private Integer id;
	/**
	 * 场次
	 */
	private String secondKillName;
	/**
	 * 图片
	 */
	private String secondKillPicture;
	/**
	 * 秒杀状态
	 */
	private Integer secondKillState;
	/**
	 * 时间
	 */
	private Date secondCreateTime;
	/**
	 * 开始时间
	 */
	private Date startTime;
	/**
	 * 结束时间
	 */
	private Date endTime;
	/*
	 * 当前场次所有秒杀商品
	 * */
	@TableField(exist = false)
	private List<SeckillSkuRelationshipEntity> seckillSkuRelationshipEntities;

}
